package com.ctshk.rpc.cms.enums;

import java.util.Arrays;
import java.util.List;

public enum TourOperationTypeCode {

    /**
     * PC首页旅行团操作分组枚举
     */
    HOT(1,"热门推荐"),
    ASIA(2,"亚洲"),
    INTERNATIONAL_LONG_TERM(3,"国际长线"),
    CHINA_LONG_TERM(4,"中国长线"),
    CHINA_SHORT_TERM(5,"中国短线"),
    GREATER_BAY_AREA(6,"粤港澳大湾区"),
    ;

    private Integer code;
    private String msg;

    TourOperationTypeCode(Integer code, String msg) {
        this.code = code;
        this.msg = msg;
    }

    public Integer getCode() {
        return code;
    }

    public void setCode(Integer code) {
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public static List<TourOperationTypeCode> getItemList(){
        return Arrays.asList(TourOperationTypeCode.values());
    }


}
